home *** CD-ROM | disk | FTP | other *** search
/ Champak 109 / Vol 109.iso / games / stepp000.swf / scripts / DefineSprite_980 / frame_1 / DoAction.as
Text File  |  2008-11-12  |  651b  |  33 lines

  1. tellTarget("_root.TimerGardes")
  2. {
  3.    stop();
  4. }
  5. loadVariablesNum("/web/steppenwolf/tracking.jsp?episode=6&stage=6",0);
  6. set("/Variables:AnimBriseVu",true);
  7. if(eval("/Variables:CoteBaril") eq "Droite")
  8. {
  9.    tellTarget("_root.Baril")
  10.    {
  11.       gotoAndStop("GaucheBrise");
  12.    }
  13.    tellTarget("_root.BarilDerriere")
  14.    {
  15.       gotoAndStop("GaucheBrise");
  16.    }
  17. }
  18. else if(eval("/Variables:CoteBaril") eq "Gauche")
  19. {
  20.    tellTarget("_root.Baril")
  21.    {
  22.       gotoAndStop("DroiteBrise");
  23.    }
  24.    tellTarget("_root.BarilDerriere")
  25.    {
  26.       gotoAndStop("DroiteBrise");
  27.    }
  28. }
  29. tellTarget("_root")
  30. {
  31.    gotoAndStop("Tab2Stoppe");
  32. }
  33.